<<<<<<< HEAD
<?php
$searchList = [
    ["name" => "百度", "url" => "https://www.baidu.com", "score" => "70"],
    ["name" => "谷歌", "url" => "https://www.google.com", "score" => "90"],
    ["name" => "360搜索", "url" => "https://www.so.com", "score" => "62"],
    ["name" => "搜搜", "url" => "https://www.soso.com", "score" => "65"],
];

//print_r($searchList);

?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
    <form>
        <table border="1" cellspacing="0">
            <tr align="center">
                <td><b>序号</b></td>
                <td><b>网站名</b></td>
                <td><b>url地址</b></td>
            </tr>

            <?php foreach ($searchList as $key => $value): ?>
            <tr align="center">
                <td><?php echo "{$key}"?></td>
                <td><?php echo "{$value["name"]}"?></td>
                <td><?php echo "{$value["url"]}"?></td>
            </tr>
            <?php endforeach ?>
        </table>
    </form>
</body>
</html>

=======
<?php
$searchList = [
    ["name" => "百度", "url" => "https://www.baidu.com", "score" => "70"],
    ["name" => "谷歌", "url" => "https://www.google.com", "score" => "90"],
    ["name" => "360搜索", "url" => "https://www.so.com", "score" => "62"],
    ["name" => "搜搜", "url" => "https://www.soso.com", "score" => "65"],
];

//print_r($searchList);

?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
    <form>
        <table border="1" cellspacing="0">
            <tr align="center">
                <td><b>序号</b></td>
                <td><b>网站名</b></td>
                <td><b>url地址</b></td>
            </tr>

            <?php foreach ($searchList as $key => $value): ?>
            <tr align="center">
                <td><?php echo "{$key}"?></td>
                <td><?php echo "{$value["name"]}"?></td>
                <td><?php echo "{$value["url"]}"?></td>
            </tr>
            <?php endforeach ?>
        </table>
    </form>
</body>
</html>

>>>>>>> 2013bb70c31c2d90b868684d14ed9a651f139527
